package com.example.demo.domain; // Make sure this matches your project's package structure

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonIgnoreProperties(ignoreUnknown = true)
public class FileInput { // It must be public
    private String type;

    @JsonProperty("transfer_method")
    private String transferMethod;

    @JsonProperty("upload_file_id")
    private String uploadFileId;

    // Getters and Setters (ensure they are present)
    public String getType() { return type; }
    public void setType(String type) { this.type = type; }
    public String getTransferMethod() { return transferMethod; }
    public void setTransferMethod(String transferMethod) { this.transferMethod = transferMethod; }
    public String getUploadFileId() { return uploadFileId; }
    public void setUploadFileId(String uploadFileId) { this.uploadFileId = uploadFileId; }

    @Override
    public String toString() {
        return "FileInput{" +
                "type='" + type + '\'' +
                ", transferMethod='" + transferMethod + '\'' +
                ", uploadFileId='" + uploadFileId + '\'' +
                '}';
    }
}